/**
 * 
 */
package com.csair.youth.domain;

import java.util.List;

/**
 * @author mickey
 *
 */
public class TreeNode {
	private String id;
	private String name;
	private String description;
	private TreeNode parent;
	private List<TreeNode> children;
	private String parentId;
//	private boolean isRoot = false;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public TreeNode getParent() {
		return parent;
	}
	public void setParent(TreeNode parent) {
		this.parent = parent;
	}
	public List<TreeNode> getChildren() {
		return children;
	}
	public void setChildren(List<TreeNode> children) {
		this.children = children;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	//	public boolean isRoot() {
//		return isRoot;
//	}
//	public void setRoot(boolean isRoot) {
//		this.isRoot = isRoot;
//	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
}
